<form class="example-form">
    <h2 mat-dialog-title>{{title}}</h2>
    <mat-dialog-content>
        <mat-form-field>
            <input matInput placeholder="项目名称">
        </mat-form-field>
        <mat-form-field>
            <input matInput placeholder="项目描述">
        </mat-form-field>
    </mat-dialog-content>
    <mat-dialog-actions>
        <button type="button" mat-button mat-dialog-close>取消</button>

        <button type="button" mat-button color="primary" (click)="heandClick()">保存</button>
    </mat-dialog-actions>
</form>